package net.maku.bean.model;

public class MyException  extends RuntimeException {
	private static final long serialVersionUID = -270929155849325293L;

	private int code = -1;
	public MyException( String msg ){
		 super(msg);
	}
	
	public MyException( Throwable ex ){
		 super(ex);
	}
	
	public MyException( int code, String msg ){
		 super(msg);
		 this.code=code;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
}


